/*
 * SpringBuildUnitCommand.cpp
 *
 *  Created on: Nov 20, 2008
 *      Author: Ryan
 */

#include "SpringBuildUnitCommand.h"

SpringBuildUnitCommand::SpringBuildUnitCommand( OOInterface::ConstUnitPtr unit ) :
	BuildUnitCommand( unit )
{
}

SpringBuildUnitCommand::~SpringBuildUnitCommand()
{
}

::Command* SpringBuildUnitCommand::getCommand() const
{
	::Command* cmd = new ::Command;
	cmd->id = -1 * getUnit()->getID(); //Similar to a BuildCommand but not positional

	return cmd;
}
